$$.ns('Animation');
$$.Animation = $$.Class({}, {
	constructor: function(el){
		this.el = $$.getEl(el);
	}
	,move: function(trans){
		var el = this.el;
		var x = 0;
		var task = {
			call: function(){
				el.setX(x); x =  x + 1;
				//el.setWidth(el.getWidth() - 15);
				//console.log(el.getX());
			}
		};

		var t = trans.getT();
		var thread = new $$.util.Thread(0);
		thread.start(task);
	}
});